package com.lp.biz.train.model.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @program: backend
 * @description:
 * @author: Ke.Song
 * @since: 2024-05-19 18:02:42
 */
@Data
public class TrainChapterCreate {

    private Integer id;

    @NotBlank(message = "标题不能为空")
    private String name;

    @NotBlank(message = "视频地址不能为空")
    private String videoUrl;

    @NotBlank(message = "时长不能为空")
    private String duration;

    @NotNull(message = "状态不能为空")
    private Integer isDisplay;

    @NotNull(message = "序号不能为空")
    private Integer sort;

    private Integer playbackNum;

    private Integer arrange;

    private String content;
}
